<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="m"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>一中骄傲---庆祝高青一中60年校庆</title>
    <script src="style/jquery132.js" type="text/javascript"></script>
    <link href="style/reset.css" rel="stylesheet" type="text/css"/>
    <link href="style/style.css" rel="stylesheet" type="text/css"/>
    <link href="style/ds.css" rel="stylesheet" type="text/css"/> 
</head>
<body>
<div id="container">
     <m:nav/>
<div id="main" class="news">
        <div id="content">
         <link href="style/info_news.css" rel="stylesheet" type="text/css"/>
        	<div style="height: 385px;" id="mainFrame" name="mainFrame" allowtransparency="true" frameborder="0" scrolling="no">
        	<div class="newlist">
				<div class="subColumnBar">
				<div class="columnTitle">
					一中骄傲
				</div>
				<div class="more"></div>
				<div style="clear: both"></div>
			</div>
			<div class="articleList">
				<ul class="articleList">
				<s:iterator value="news" var="news">
					<li>
						<div>
							<a title="【<s:property value="#news.newsType" />】 <s:property value="#news.newsName" />" 
							href="newsAction!listById.action?newsId=<s:property value="#news.newsId" />"
								target="_blank">【<s:property value="#news.newsType"/>】<s:if test="%{#news.newsName.length()>17}"><s:property value="#news.newsName.substring(0,17)+'...'"/></s:if><s:else><s:property value="#news.newsName"/></s:else>
							</a><span><s:date name="#news.newsDate" format="yyyy-MM-dd" /></span>
						</div>
					</li>
				</s:iterator>					
				</ul>
				<div style="clear: both"></div>
			</div>
			<div class="navigation">
				<table class="classicLookPagingTag PagingTag" border="0"
					cellpadding="0" cellspacing="0">
					<tbody>
						<tr class="classicLookPagingTag PagingTag">
							<td class="classicLookPaging Paging">
								<table class="classicLookPaging Paging" border="0"
									cellpadding="0" cellspacing="0">
										<tbody>
										<tr class="classicLookPaging Paging">
											<td>
											<s:if test="prePage!=0">
												<a	href="newsAction.action?newsItem=1&page=${startPage}&pageSize=12">
												<img alt="首页" src="images/firston.gif" border="0">
												</a>
											</s:if>
											<s:else>
												<img alt="首页" src="images/firstoff.gif" border="0">
											</s:else>
											</td>
											<td>
												<s:if test="prePage!=0">
													<a	href="newsAction.action?newsItem=1&page=${prePage}&pageSize=12">
													<img alt="上一页" src="images/previouson.gif" border="0">
													</a>
												</s:if>
												<s:else>
													<img alt="上一页" src="images/previousoff.gif" border="0">
												</s:else>
											</td>
											<td>
												<s:if test="nextPage!=0">
													<a	href="newsAction.action?newsItem=1&page=${nextPage}&pageSize=12">
													<img alt="下一页" src="images/forwardon.gif" border="0">
													</a>
												</s:if>
												<s:else>
													<img alt="下一页" src="images/forwardoff.gif" border="0">
												</s:else>
											</td>
											<td>
												<s:if test="endPage!=0">
													<a	href="newsAction.action?newsItem=1&page=${endPage}&pageSize=12">
													<img alt="末页" src="images/laston.gif" border="0">
													</a>
												</s:if>
												<s:else>
													<img alt="末页" src="images/lastoff.gif" border="0">
												</s:else>
											</td>
										</tr>
									</tbody>
								</table>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>

		<div class="imgNews">

			<div class="center_article_picture_list">
				<div class="colsubject">
					<span>校庆新闻图片</span>
					<div style="clear: both"></div>
				</div>

				<div class="body">
					<table cellpadding="0" cellspacing="0">
						<tbody>
							<tr>

								<td>
									<div class="picture" id="DBCPDJDFDEDBCPDADBCOEKFAEH">
										<img src="images/downloadTheolFile.jpg" height="300"
											width="226">
									</div>
									<div class="title">
										<a href="#" target="_blank" class="" title="校庆新闻"> 校庆新闻 </a>
									</div>
								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
			<!--226px * 300px-->
		</div>
        	</div>
        </div>
    </div>

    <div id="footer">
    <m:copyright/>
    </div>
</div>
<script type="text/javascript">
    function reinitIframe(){
        var iframe = document.getElementById("mainFrame");
        try{
            var bHeight = iframe.contentWindow.document.body.scrollHeight;
            var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
            var height = Math.max(bHeight, dHeight, 385);
            iframe.style.height =  height + "px";
        }catch (ex){}
    }
    window.setInterval("reinitIframe()", 200);
</script>
</body>
</html>